From 4496ab957b2ffcf69575e348c839ee9d2e9b2b8d Mon Sep 17 00:00:00 2001 From: robertl Date: Mon, 4 Jul 2005 17:47:31 +0000 Subject: [PATCH] Fix typos in waypt_dupe that would have resulted in the duplicated waypt not having description. --- waypt.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/waypt.c b/waypt.c index a8a179b8b..d51a73ee5 100644 --- a/waypt.c +++ b/waypt.c @@ -57,11 +57,11 @@ waypt_dupe(const waypoint *wpt) tmp->icon_descr = xstrdup(wpt->icon_descr); if (wpt->gc_data.desc_short.utfstring) { tmp->gc_data.desc_short.utfstring = - xstrdup(tmp->gc_data.desc_short.utfstring); + xstrdup(wpt->gc_data.desc_short.utfstring); } if (wpt->gc_data.desc_long.utfstring) { tmp->gc_data.desc_long.utfstring = - xstrdup(tmp->gc_data.desc_long.utfstring); + xstrdup(wpt->gc_data.desc_long.utfstring); } if (wpt->gc_data.placer) { tmp->gc_data.placer = xstrdup(wpt->gc_data.placer); -- 2.30.2